package com.eduction.modules.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name = "t_school_contacts")
@Entity
public class SchoolContacts {

	private String p_id;
	private String s_school_id;
	private String s_name;
	private String s_type;//1-学校联系人 2-材料填报员
	private String s_mobile_phone;
	private String s_telephone;
	private String s_email;
	private String s_address;
	private String s_postcode;
	private String s_create_time;
	private String s_remark;//备注
	
	private String schoolName;
	
	
	@Transient
	public String getSchoolName() {
		return schoolName;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getP_id() {
		return p_id;
	}
	@Column(name = "s_school_id")
	public String getS_school_id() {
		return s_school_id;
	}
	@Column(name = "s_name")
	public String getS_name() {
		return s_name;
	}
	@Column(name = "s_type")
	public String getS_type() {
		return s_type;
	}
	@Column(name = "s_mobile_phone")
	public String getS_mobile_phone() {
		return s_mobile_phone;
	}
	@Column(name = "s_telephone")
	public String getS_telephone() {
		return s_telephone;
	}
	@Column(name = "s_email")
	public String getS_email() {
		return s_email;
	}
	@Column(name = "s_address")
	public String getS_address() {
		return s_address;
	}
	@Column(name = "s_postcode")
	public String getS_postcode() {
		return s_postcode;
	}
	@Column(name = "s_create_time")
	public String getS_create_time() {
		return s_create_time;
	}
	@Column(name = "s_remark")
	public String getS_remark() {
		return s_remark;
	}
	public void setS_remark(String s_remark) {
		this.s_remark = s_remark;
	}
	public void setP_id(String p_id) {
		this.p_id = p_id;
	}
	public void setS_school_id(String s_school_id) {
		this.s_school_id = s_school_id;
	}
	public void setS_name(String s_name) {
		this.s_name = s_name;
	}
	public void setS_type(String s_type) {
		this.s_type = s_type;
	}
	public void setS_mobile_phone(String s_mobile_phone) {
		this.s_mobile_phone = s_mobile_phone;
	}
	public void setS_telephone(String s_telephone) {
		this.s_telephone = s_telephone;
	}
	public void setS_email(String s_email) {
		this.s_email = s_email;
	}
	public void setS_address(String s_address) {
		this.s_address = s_address;
	}
	public void setS_postcode(String s_postcode) {
		this.s_postcode = s_postcode;
	}
	public void setS_create_time(String s_create_time) {
		this.s_create_time = s_create_time;
	}
	
	
}
